package com.guigu.ssyx.activity.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import com.atguigu.ssyx.model.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 活动表
 * </p>
 *
 * @author liuyang
 * @since 2025-09-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("activity_info")
@ApiModel(value="ActivityInfo对象", description="活动表")
public class ActivityInfo extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "活动名称")
    @TableField("activity_name")
    private String activityName;

    @ApiModelProperty(value = "活动类型（1：满减，2：折扣）")
    @TableField("activity_type")
    private Integer activityType;

    @ApiModelProperty(value = "活动描述")
    @TableField("activity_desc")
    private String activityDesc;

    @ApiModelProperty(value = "开始时间")
    @TableField("start_time")
    private LocalDate startTime;

    @ApiModelProperty(value = "结束时间")
    @TableField("end_time")
    private LocalDate endTime;


}
